﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AllAuction.aspx.cs" Inherits="University.Workshop.WebApp.AllAuction" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">

        .style3
        {
            width: 111px;
        }
        .style4
        {
            width: 86px;
        }
        .style6
        {
            width: 643px;
        }
        .style7
        {
            width: 67px;
        }
        .style8
        {
            width: 66px;
        }
        .style9
        {
            width: 452px;
        }
        .style10
        {
            width: 95px;
        }
        .style12
        {
            width: 79px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
                <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="XX-Large" 
                    ForeColor="Black" Text="Bids"></asp:Label>
                <table style="width:100%;">
                    <tr>
                        <td class="style7">
                            &nbsp;</td>
                        <td class="style6">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style7">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                            &nbsp;</td>
                        <td class="style6">
                <asp:DataList ID="DataList1" runat="server" BackColor="#003366" CaptionAlign="Top" 
                                Height="29px" Width="741px">
                    <ItemTemplate>
                        <br />
                        <table style="width:100%;">
                            <tr>
                                <td class="style8">
                                    <asp:LinkButton ID="LinkButton1" runat="server" 
                                        CommandArgument='<%#Eval("Product.ProductId") %>' 
                                        onclick="LinkButton1_Click1" Text='<%#Eval("Product.Name") %>' 
                                        ForeColor="White"></asp:LinkButton>
                                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                </td>
                                <td class="style12">
                                    <asp:Label ID="Label2" runat="server" Text="Price: " ForeColor="White"></asp:Label>
                                </td>
                                <td class="style3">
                                    <asp:Label ID="BidPrice" runat="server" Text='<%#Eval("Auction.LastBidPrice") %>' ForeColor="White"></asp:Label>
                                
                                    &nbsp;<asp:Label ID="Currency" runat="server" Text='<%#Eval("Product.Currency") %>' ForeColor="White"></asp:Label>
                                </td>
                                <td class="style10">
                                    <asp:Label ID="Label3" runat="server" Text="Time Left:" ForeColor="White"></asp:Label>
                                    </td>
                                    <td class="style4">
                                        <asp:Label ID="BidDate" runat="server" Text='<%#Eval("TimeLeft") %>' ForeColor="White"></asp:Label>
                                </td>
                            </tr>
                        </table>
                        <br />
                    </ItemTemplate>
                </asp:DataList>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td class="style7">
                            &nbsp;</td>
                        <td class="style6">
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                </table>
                <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Label ID="errorlb" runat="server" ForeColor="Red" Visible="False"></asp:Label>
            <br />
</asp:Content>
